﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.System.Domain.Entity
{
    /// <summary>
    /// 交货地址实体类
    /// </summary>
    [SugarTable("delivery_address")]
    public class delivery_address
    {
        /// <summary>
        /// 地址编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "地址编号")]
        public string address_number { get; set; }

        /// <summary>
        /// 交付地址
        /// </summary>
        [SugarColumn(ColumnDescription = "交付地址", Length = 200)]
        public string? address_delivery { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        [SugarColumn(ColumnDescription = "操作人", Length = 200)]
        public string? address_operator { get; set; }

        /// <summary>
        /// 使用中个数
        /// </summary>
        [SugarColumn(ColumnDescription = "使用中个数", Length = 200)]
        public int address_num { get; set; } = 0;

        /// <summary>
        /// 操作时间
        /// </summary>
        [SugarColumn(ColumnDescription = "操作时间")]
        public DateTime? address_operator_date { get; set; }

        /// <summary>
        /// 默认状态
        /// </summary>
        [SugarColumn(ColumnDescription = "默认状态")]
        public bool address_status { get; set; }
    }
}
